package com.sc.service.member;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sc.dal.mapper.member.BankInstMapper;
import com.sc.dal.model.member.BankInst;

@Service
public class BankInstService {
	@Autowired
	private BankInstMapper bankInstMapper;

	//插入一条银行机构信息
	public void insertBank(BankInst bankInst) {
		bankInstMapper.insert(bankInst);
	}

	//根据条件查询银行机构列表
	public List<BankInst> selectAllBankInst(BankInst bankInst) {
		return bankInstMapper.selectChanQpayBankInstList(bankInst);
	}
}
